package testng;

import org.testng.annotations.Test;
import org.testng.annotations.DataProvider;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeTest;

public class NewTest {
  @Test(dataProvider="data")
  public void testemployeedata(String eid,String name,String city ) 
  {
	 System.out.println("Eid"+eid);
	 System.out.println("EName"+name);
	 System.out.println("city"+city);
  }
  @BeforeClass
  public void beforeClass() {
  }

  @BeforeTest
  public void beforeTest() {
  }
  @DataProvider(name="data")
  public object[][] createdata()
  {
	  object[][] ob={{"o1","srav","san jose"},{"02","yash","santa clara"}};
	  return(ob);
	  }

}
